/* @date 2011.10.18
 * @author Ryohei Suga
 * @site http://boooo-bot.appspot.com/
 */
(function(window,$){
	var boooo = window.boooo = $.boooo = function(vars){
		return boooo.prototype.init(vars);
	}
	boooo.prototype = {
			init : function(vars){
				return vars;
			}
	}
})(window,jQuery);
$(function(){});
$(function(){
	$("#signout").click(function(){
		$.cookie("tw_token", "");
		$.cookie("tw_secret", "");
		$.cookie("tw_id", "");
		$.cookie("tw_service", "");
		$.cookie("tw_login", "");
		$.cookie("tw_picture", "");
		$.cookie("tw_username", "");
		$.cookie("tw_name", "");
		location.href="/";
	});
	$("#twitter-follow-btn").click(function(){
		var w=480,h=620,x=(window.screen.width-w)/2,y=(window.screen.height-h)/2,uname='kojika_factory',
		followUrl = 'https://twitter.com/intent/user?original_referer='+location.href+'&region=following&screen_name='+uname+'&source=followbutton&variant=1.1';
		window.open(followUrl,"FollowWindow","width="+w+",height="+h+",screenX="+x+",screenY="+y);
	});
	$("#inquiry").click(function(){
		$(this).colorbox({href:'/mail',width:800,height:600,iframe:true})
	});
	$("#global_footer").css({width:$(document).width()-16});
	/*
	*/
});